Skip to content

fix: fill status bar background during message/command mode on tmux 3.7#78

Draft
wfxr with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-tmux-background-display
Draft

fix: fill status bar background during message/command mode on tmux 3.7#78
wfxr with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-tmux-background-display

Conversation

Copilot AI commented Jul 1, 2026

Copy link
Copy Markdown

Description

In tmux 3.7, bg= in a style only paints behind characters — fill= is required to cover the full bar width. During rename-session/rename-window, the command prompt left the underlying colored status segments (orange arrows etc.) visible through the empty space.

  • configure_status_bar: Replace deprecated status-bg/status-fg/status-attr with status-style "bg=$G0,fg=$G4,fill=$G0"
  • configure_ui_styles: Add fill=$G0 to message-style and message-command-style so the entire bar is covered with the dark background when the command prompt is active
- tmux_set status-bg "$G0"
- tmux_set status-fg "$G4"
- tmux_set status-attr none
+ tmux_set status-style "bg=$G0,fg=$G4,fill=$G0"

- tmux_set message-style         "fg=$TC,bg=$G0"
- tmux_set message-command-style "fg=$TC,bg=$G0"
+ tmux_set message-style         "fg=$TC,bg=$G0,fill=$G0"
+ tmux_set message-command-style "fg=$TC,bg=$G0,fill=$G0"

Checklist

  • Description above explains the change and motivation
  • Tested with at least one theme (gold, everforest, etc.)

Copilot AI changed the title [WIP] Fix background display issue on tmux 3.7 window bar fix: fill status bar background during message/command mode on tmux 3.7 Jul 1, 2026
Copilot AI requested a review from wfxr July 1, 2026 07:59
Copilot finished work on behalf of wfxr July 1, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tmux 3.7 doesn't display background properly on the window bar

2 participants